package com.nm.mapper;

import com.nm.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author lenovo
* @description 针对表【admin】的数据库操作Mapper
* @createDate 2022-05-10 15:57:12
* @Entity com.nm.pojo.Admin
*/
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {
    //查询全部管理员
    List<Admin> queryAll();

    //管理员登录
    int dlAdmin(Admin admin);
}




